<template>
  <div>
    <x-header id="header"  :left-options="{backText: ''}">{{title}}</x-header>
    <div class="main-header">
      <div v-html="content"></div>
    </div>
  </div>
</template>

<script>
import { getSystemMessageDetail } from '@/api/message'
export default {
  name: 'msg-detail',
  data () {
    return {
      title: '',
      content: ''
    }
  },
  mounted () {
    getSystemMessageDetail(this.$route.query.id).then(data => {
      this.title = data.title
      this.content = data.content
    })
  }
}
</script>

<style scoped>

</style>
